package com.jt.yygh.hospital.repository;

import com.jt.yygh.hospital.entity.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author jiang tao
 * @date 2022/2/28
 * @description:
 **/
@Repository
public interface HospitalRepository extends MongoRepository<Hospital, String> {
    Hospital getHospitalByHoscode(String hoscode);
}
